<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

/* JoomLeague League Management and Prediction Game for Joomla!
 * @version $Id: jl_events.php 1155 2008-06-25 08:24:05Z julienv $
 * @package Joomleague
 * @copyright Copyright (C) 2007  JoomLeague
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see _joomleague_license.txt
 *  
 * Homepage: http://www.joomleague.de
 * Support: htt://www.joomleague.de/forum/
 * 
 * This file is part of JoomLeague.
 *  
 * JoomLeague is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * Please note that the GPL states that any headers in files and
 * Copyright notices as well as credits in headers, source files
 * and output (screens, prints, etc.) can not be removed.
 * You can extend them with your own credits, though...
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * The "GNU General Public License" (GPL) is available at
 * http://www.gnu.org/copyleft/gpl.html.
*/ 

?>

<!-- Hinweis f�r mich: Sprachdatei bearbeiten!! -->


<div id="right">
	<div id="rightpad">
	
<!-- Header Start -->	
		<div id="step">
			<div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m" align="left">
				<div class="far-right">
							<div class="button1-left"><div class="help"><a href="http://www.joomleague.de" alt="Handbuch" target="blank">Handbuch</a></div></div>
							<div class="button1-left"><div class="forum"><a href="http://www.joomleague.de/forum/" alt="Forum" target="blank">Forum</a></div></div>
							<div class="button1-left"><div class="about"><a href="http://www.joomleague.de" alt="Info" target="blank">Info</a></div></div>
				</div>
				<div class="button1-left"><div class="blank"><a href="index2.php?option=com_joomleague"></a></div></div><span class="step">JoomLeague - Import</span>
			</div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
<!-- Header Ende --> 

    <div id="installer">
    
<!-- Bereichs�berschrift -->    
			<div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m" align="left">
      	<h2>Import Ergebnis</h2>		
<!-- Bereichs�berschrift Ende -->         		 
  
<!-- Info Bereich -->   			
		<div id="step">
			<div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m" align="left">
<table class="content" cellpadding="4">
 <tr>
  <td>
  <?php

// Ereignisse importieren	
	
		$query = "INSERT INTO `#__joomleague_eventtypes` (name, icon) 
              VALUES ('Tor', 'goal.png'),
                     ('Gelbe Karte', 'yellow_card.gif'),
                     ('Gelb-Rote Karte', 'yellow_red_card.gif'),
                     ('Rote Karte', 'red_card.gif'),
                     ('Foul', 'foul.png')";
    $database->setQuery($query);
		if($database->query()){ echo "Ereignisse erfolgreich importiert!<br /><br />";}
    else{echo $database->getErrorMsg()."<br/><br/>";}   

?>   
  </td>

 </tr>
</table>
			</div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
<!-- Info Bereich Ende -->     
  	
	
			
        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
		</div>
	</div>
</div>
<div class="clr"></div>
